package cn.edu.wfit.modules.learn.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.edu.wfit.common.core.annotation.Excel;
import cn.edu.wfit.common.core.web.domain.BaseEntity;

/**
 * 项目成员分数对象 wfit_source
 * 
 * @author ruoyi
 * @date 2025-07-25
 */
public class WfitSource extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 关联项目id */
    @Excel(name = "关联项目id")
    private Long projectId;

    /** 成员学号 */
    @Excel(name = "成员学号")
    private String userNumber;

    /** 分配分数 */
    @Excel(name = "分配分数")
    private Long getSource;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date crateTime;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setUserNumber(String userNumber)
    {
        this.userNumber = userNumber;
    }

    public String getUserNumber()
    {
        return userNumber;
    }
    public void setGetSource(Long getSource) 
    {
        this.getSource = getSource;
    }

    public Long getGetSource() 
    {
        return getSource;
    }
    public void setCrateTime(Date crateTime) 
    {
        this.crateTime = crateTime;
    }

    public Date getCrateTime() 
    {
        return crateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectId", getProjectId())
            .append("userNumber", getUserNumber())
            .append("getSource", getGetSource())
            .append("createBy", getCreateBy())
            .append("crateTime", getCrateTime())
            .toString();
    }
}
